<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$route['404_override'] = '';

$route['default_controller']    = "default/index/index";


/**
 * 
 * @void Thành viên
 * 
 */

$route['register']              = "default/user/register";
$route['login-email']           = "default/user/loginemail";
$route['login-mobile']          = "default/user/loginmobile";
$route['login-facebook']        = "default/user/loginfacebook";
$route['login-card']        = "default/user/logincard";
$route['saveinfo']              = "default/user/saveinfo";
$route['get-info']              = "default/user/info";
$route['change-pass']           = "default/user/changepass";
$route['forgot-pass']           = "default/user/forgotpass";
$route['verify-account']        = "default/user/verifyaccount";
$route['get-age-group']         = "default/user/getagegroup";
$route['get-job']               = "default/user/getjob";
/**
 * 
 * @void Coupon
 * 
 */

$route['coupon']            = "default/coupon/index";
$route['coupon-detail']     = "default/coupon/detail";
$route['comment']           = "default/coupon/reviewcoupon";
$route['get-comment']       = "default/coupon/getreview";



//Api Dungdc
//Tìm kiếm
$route['search'] = "default/content/search";
//Ưu đãi mới nhất
$route['get-new-incentive'] = "default/content/getnewincentive";
//Ưu đãi cố định
$route['get-incentive-fixed'] = "default/content/getincentivefixed";
//Ưu đãi theo tháng
$route['get-incentive-monthly'] = "default/content/getincentivemonthly";
//thực đơn theo nhà hàng
$route['get-restaurant-menus'] = "default/content/getrestaurantmenus";
// get review 1 nhà hàng
$route['get-review-restaurant'] = "default/content/getreviewrestaurant";

// gửi review nhà hàng
$route['submit-review-restaurant'] = "default/content/submitreviewrestaurant";
// get review 1 coupon
$route['get-review-coupon'] = "default/content/getreviewcoupon";
// gửi review coupon
$route['submit-review-coupon'] = "default/content/submitreviewcoupon";
// gửi đặt bàn
$route['submit-booking'] = "default/content/submitbooking";
$route['submit-review-restaurant'] = "default/content/submitreviewrestaurant";
//API Tu
$route['get-label'] = "default/index/getrestaurantlabel";
$route['get-static-data'] = "default/index/getstaticdata";
$route['get-incentive-label'] = "default/content/getincentivelabel";

$route['get-province'] = "default/index/getprovince";
$route['active-user'] = "default/user/activeuser";
$route['get-rating-label'] = "default/content/ratinglabel";

// count downapp
$route['count-downapp'] = "default/content/countdownapp";

// API user nhan Ecoupon
$route['user-get-ecoupon'] = "default/coupon/usergetecoupon";
$route['user-get-ecouponother'] = "default/coupon/usergetecouponother";
$route['check-del-coupon-user'] = "default/coupon/checkdelcouponuser";

// API get restaurant detail for map
$route['get-restaurant-detail'] = "default/index/getrestaurantdetail";

$route['get-incentive-detail'] = "default/index/getincentivedetail";

// get địa chỉ ở bản đồ
$route['get-near-restaurant'] = "default/index/getnearrestaurant"; 


$route['test-send-mail'] = "default/user/testsendmail"; 
$route['test'] = "default/user/test"; 

//get token
$route['get-token'] = "default/index/gettoken";
$route['push-single-device'] = "default/index/pushbytoken";
